package upm.pb4agent.team3;

import jade.core.AID;
import upm.pb4agent.ontology.RealRow;
import upm.pb4agent.ontology.Row;

public class RowerBean {
	public AID rowerAID;
	public int rowerNum = 0;	
	
	public float timeRow = 0;
	public long lastTimeRowed = 0;
	/*public double timeRow = 0;
	public double lastTimeRowed = 0;*/
	
	public long rowSeconds = 0;
	public double tiredness  = 0;	
	public double strengthValue  = 0;
	public double resistance  = 0;
	public double agility  = 0;
	public double impulse = 0;
	
	public Row row = null;//before
	/*Protege name: boat
	 Protege name: oarID
	 Protege name: direction
	 Protege name: strength*/
	
	
	public RealRow realRow = null;	//current
	/*
	 Protege name: oarID
	 Protege name: y
	 Protege name: x
	 */
	
	public String toString(){
		StringBuffer rowerStrBuff = new StringBuffer();		
		rowerStrBuff.append("<");
		rowerStrBuff.append(rowerAID.getLocalName());
		rowerStrBuff.append(" :rowerNum: " + this.rowerNum);
		rowerStrBuff.append(" :timeRow: " + this.timeRow);
		rowerStrBuff.append(" :rowSeconds: " + this.rowSeconds);		
		rowerStrBuff.append(" :tiredness: " + this.tiredness);
		rowerStrBuff.append(" :strengthValue: " + this.strengthValue);
		rowerStrBuff.append(" :resistance: " + this.resistance);
		rowerStrBuff.append(" :agility: " + this.agility);
		rowerStrBuff.append(" :impulse: " + this.impulse);
		rowerStrBuff.append(">");
		return rowerStrBuff.toString();
	}
	
	public void print(){
		System.out.println(this.toString());
	}
}
